runtime.pageAlloc.chunkOf (method)
25 uses
runtime (current package)
mgcscavenge.go#L758: base, npages := p.chunkOf(ci).findScavengeCandidate(searchIdx, minPages, maxPages)
mgcscavenge.go#L769: p.chunkOf(ci).allocRange(base, npages)
mgcscavenge.go#L804: p.chunkOf(ci).free(base, npages)
mgcscavenge.go#L808: p.chunkOf(ci).scavenged.setRange(base, npages)
mpagealloc.go#L349: func (p *pageAlloc) chunkOf(ci chunkIdx) *pallocData {
mpagealloc.go#L422: p.chunkOf(c).scavenged.setRange(0, pallocChunkPages)
mpagealloc.go#L497: y := p.chunkOf(sc).summarize()
mpagealloc.go#L508: summary[sc] = p.chunkOf(sc).summarize()
mpagealloc.go#L525: summary[ec] = p.chunkOf(ec).summarize()
mpagealloc.go#L534: summary[c] = p.chunkOf(c).summarize()
mpagealloc.go#L583: chunk := p.chunkOf(sc)
mpagealloc.go#L589: chunk := p.chunkOf(sc)
mpagealloc.go#L594: chunk := p.chunkOf(c)
mpagealloc.go#L599: chunk = p.chunkOf(ec)
mpagealloc.go#L843: j, searchIdx := p.chunkOf(ci).find(npages, 0)
mpagealloc.go#L891: j, searchIdx := p.chunkOf(i).find(npages, chunkPageIndex(p.searchAddr.addr()))
mpagealloc.go#L949: p.chunkOf(i).free1(pi)
mpagealloc.go#L958: p.chunkOf(sc).free(si, ei+1-si)
mpagealloc.go#L962: p.chunkOf(sc).free(si, pallocChunkPages-si)
mpagealloc.go#L965: p.chunkOf(c).freeAll()
mpagealloc.go#L968: p.chunkOf(ec).free(0, ei+1)
mpagecache.go#L91: p.chunkOf(ci).free1(pi + i)
mpagecache.go#L97: p.chunkOf(ci).scavenged.setRange(pi+i, 1)
mpagecache.go#L132: chunk = p.chunkOf(ci)
mpagecache.go#L153: chunk = p.chunkOf(ci)
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |